<template>
  <el-dialog :visible.sync="visible" title="专家媒体" :close-on-click-modal="false" :show-close="false" :close-on-press-escape="false" width="600px">
    <div class="title">扫码关注获取更多信息</div>
    <div class="betweens">
      <div class="centers">
        <div class="imgBox">
          <img :src="dataForm.wxgzh" alt="">
        </div>
        <div>公众号</div>
      </div>
      <div class="centers">
        <div class="imgBox">
          <img :src="dataForm.wxsph" alt="">
        </div>
        <div>视频号</div>
      </div>
    </div>
     <template slot="footer">
      <el-button @click="visible = false">关闭</el-button>
    </template>
  </el-dialog>
</template>

<script>
export default {
  data () {
    return {
      visible: false,
      dataForm: {}
    }
  },
  created () {
  },
  methods: {
    async init (val) {
      this.visible = true
      this.dataForm = val
    }
  }
}
</script>
<style lang="scss" scoped>
  .title{
    text-align: center;
    font-size: 17px;
    font-weight: bold;
    margin-bottom:25px;
  }
  .betweens{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:25px;
  }
  .centers{
    text-align: center;
  }
  .imgBox{
    width:230px;
    height:230px;
    img{
      width:230px;
      height:230px;
    }
  }
</style>
